/// ClientWithdrawDto
class ClientWithdrawDto {
  /// 提现金额
  final int withdrawAmount;
  /// 银行卡ID
  final int bankCardId;
  /// PIN码
  final String pin;

  ClientWithdrawDto({
    required this.withdrawAmount,
    required this.bankCardId,
    required this.pin,
  });

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data['withdrawAmount'] = withdrawAmount;
    data['bankCardId'] = bankCardId;
    data['pin'] = pin;
    return data;
  }

  factory ClientWithdrawDto.fromJson(Map<String, dynamic> json) {
    return ClientWithdrawDto(
      withdrawAmount: json['withdrawAmount'],
      bankCardId: json['bankCardId'],
      pin: json['pin'],
    );
  }
}